﻿using BoriPeter.FatSecret.Messages;
using BoriPeter.FatSecret.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoriPeter.FatSecret.Messages
{
    /// <summary>
    /// Returns detailed nutritional information for the specified food. 
    /// Use this call to display nutrition values for a food to users.
    /// </summary>
    public class FoodGet : FatSecretMessageBase<FoodGetModel>
    {
        private const string METHOD_VALUE = "food.get";
        private const string FOOD_ID = "food_id";

        public FoodGet(int _foodId) : base()
        {
            AddRequestParameter(METHOD, METHOD_VALUE);
            AddRequestParameter(FOOD_ID, _foodId);
        }
    }
}
